<el-form ref="form" :model="form" :rules="rules" label-width="100px">
    <el-row :gutter="10">
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="币别" prop="GWEL001">
                <el-input v-model="form.GWEL001" :readonly="!isAdd" :disabled="!isAdd"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="基础币别" prop="GWEL104">
                <el-input v-model="form.GWEL104"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="日期" prop="GWEL002">
                <el-date-picker
                        type="date"
                        v-model="form.GWEL002"
                        value-format="yyyy-MM-dd"
                        :disabled="!isAdd"
                        style="width: 100%">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="银行买入汇率" prop="GWEL003">
                <el-input type="number" min="0" v-model="form.GWEL003"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="银行卖出汇率"  prop="GWEL004">
                <el-input type="number" min="0" v-model="form.GWEL004"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="银行中价汇率" prop="GWEL005">
                <el-input type="number" min="0" v-model="form.GWEL005"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="海关买入汇率" prop="GWEL006">
                <el-input type="number" min="0" v-model="form.GWEL006"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="海关卖出汇率" prop="GWEL007">
                <el-input type="number" min="0" v-model="form.GWEL007"></el-input>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="操作日期" prop="GWELDOCDATE">
                <el-date-picker
                        type="date"
                        v-model="form.GWELDOCDATE"
                        value-format="yyyy-MM-dd"
                        style="width: 100%">
                </el-date-picker>
            </el-form-item>
        </el-col>
        <el-col :xs="12" :sm="12" :md="12" :lg="12" :xl="12">
            <el-form-item label="有效否" prop="GWELACTI">
                <el-select v-model="form.GWELACTI" clearable>
                    <el-option v-for="item in selectOptions.sys_y_n" :label="item.value" :value="item.code"></el-option>
                </el-select>
            </el-form-item>
        </el-col>
        <el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24" style="text-align: right">
            <el-button icon="icon iconfont icon-23" size="mini" @click="cancel">关闭</el-button>
            <el-button v-show="!isDetail" type="warning" icon="icon iconfont icon-21" size="mini" @click="sure">保存</el-button>
        </el-col>
    </el-row>
</el-form>
<script>
    require(["pc/crm/base/gwei015_edit"], $.noop);
</script>